package com.hulman.oms.dao;

import com.hulman.oms.bean.PatrolReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: maxwellens
 */
@Mapper
public interface PatrolReportDao
{
    List<PatrolReport> findPatrolReports(Map<String, Object> map);

    Integer findPatrolReportsCount(Map<String, Object> map);

    PatrolReport findPatrolReportById(Integer id);

    int insertPatrolReport(PatrolReport patrolReport);

    void deletePatrolReportById(Integer id);

    void deletePatrolReports(int[] ids);

    int updatePatrolReport(PatrolReport patrolReport);
}
